#include<stdio.h>

int main()
{
        FILE *fp = fopen("./log.txt", "w");
        if(fp == NULL)
        {
                perror("fopen");
                return 1;
        }

        //const char* str = "hello world\n";
        //fputs(str, fp);//写入文件

        fclose(fp);
        return 0;
}
